// Application/Features/Roles/Queries/GetPagedRoles/GetPagedRolesQuery.cs
using MediatR;
using UniversalAdmin.Application.Common;
using UniversalAdmin.Application.DTOs;

namespace UniversalAdmin.Application.Features.Roles.Queries.GetPagedRoles;

public record GetPagedRolesQuery(
    int PageIndex = 1,
    int PageSize = 10,
    string? Keyword = null,
    bool? IsActive = null) : IRequest<ApiResult<PagedResult<RoleDto>>>;